Optimal. Leaf size=101 \[ -\frac {d \left (a+b x^2\right )}{a x \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {\left (a+b x^2\right ) (b d-a e) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{3/2} \sqrt {b} \sqrt {a^2+2 a b x^2+b^2 x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1250, 453, 205} \[ -\frac {\left (a+b x^2\right ) (b d-a e) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{3/2} \sqrt {b} \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {d \left (a+b x^2\right )}{a x \sqrt {a^2+2 a b x^2+b^2 x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 453
Rule 1250
Rubi steps
\begin {align*} \int \frac {d+e x^2}{x^2 \sqrt {a^2+2 a b x^2+b^2 x^4}} \, dx &=\frac {\left (a b+b^2 x^2\right ) \int \frac {d+e x^2}{x^2 \left (a b+b^2 x^2\right )} \, dx}{\sqrt {a^2+2 a b x^2+b^2 x^4}}\\ &=-\frac {d \left (a+b x^2\right )}{a x \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {\left (\left (b^2 d-a b e\right ) \left (a b+b^2 x^2\right )\right ) \int \frac {1}{a b+b^2 x^2} \, dx}{a b \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ &=-\frac {d \left (a+b x^2\right )}{a x \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {(b d-a e) \left (a+b x^2\right ) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{3/2} \sqrt {b} \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 72, normalized size = 0.71 \[ \frac {\left (a+b x^2\right ) \left (\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right ) (a e x-b d x)-\sqrt {a} \sqrt {b} d\right )}{a^{3/2} \sqrt {b} x \sqrt {\left (a+b x^2\right )^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 105, normalized size = 1.04 \[ \left [\frac {\sqrt {-a b} {\left (b d - a e\right )} x \log \left (\frac {b x^{2} - 2 \, \sqrt {-a b} x - a}{b x^{2} + a}\right ) - 2 \, a b d}{2 \, a^{2} b x}, -\frac {\sqrt {a b} {\left (b d - a e\right )} x \arctan \left (\frac {\sqrt {a b} x}{a}\right ) + a b d}{a^{2} b x}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.34, size = 62, normalized size = 0.61 \[ -\frac {{\left (b d \mathrm {sgn}\left (b x^{2} + a\right ) - a e \mathrm {sgn}\left (b x^{2} + a\right )\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a} - \frac {d \mathrm {sgn}\left (b x^{2} + a\right )}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 67, normalized size = 0.66 \[ -\frac {\left (b \,x^{2}+a \right ) \left (-a e x \arctan \left (\frac {b x}{\sqrt {a b}}\right )+b d x \arctan \left (\frac {b x}{\sqrt {a b}}\right )+\sqrt {a b}\, d \right )}{\sqrt {\left (b \,x^{2}+a \right )^{2}}\, \sqrt {a b}\, a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.22, size = 37, normalized size = 0.37 \[ -\frac {{\left (b d - a e\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a} - \frac {d}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {e\,x^2+d}{x^2\,\sqrt {{\left (b\,x^2+a\right )}^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.37, size = 82, normalized size = 0.81 \[ - \frac {\sqrt {- \frac {1}{a^{3} b}} \left (a e - b d\right ) \log {\left (- a^{2} \sqrt {- \frac {1}{a^{3} b}} + x \right )}}{2} + \frac {\sqrt {- \frac {1}{a^{3} b}} \left (a e - b d\right ) \log {\left (a^{2} \sqrt {- \frac {1}{a^{3} b}} + x \right )}}{2} - \frac {d}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________